package com.lyf.auth.service;

import com.lyf.auth.domain.response.GetJWKsResponseBody;

import java.security.interfaces.RSAPrivateKey;
import java.security.interfaces.RSAPublicKey;

public interface EncryptService {
   RSAPublicKey loadPublicKeyFromConf() ;

   RSAPrivateKey loadPrivateKeyFromConf() ;

   void genKeyPair() ;

   GetJWKsResponseBody getJWKs() ;

   void addJwk(String publicKeyStr) ;

   RSAPublicKey loadPublicKeyFromString(String publicKeyStr) ;
}
